<template>
 <!--   <view class="home">
    <view class="uni-list">
    	<view class="uni-list-cell" hover-class="uni-list-cell-hover" v-for="(value,key) in doglist" :key="key">
    		<view class="uni-list-cell-navigate uni-navigate-right uni-media-list ">
    			<view class="uni-media-list-logo">
    				<image :src="value.img"></image>
    			</view>
    			<view class="uni-media-list-body">
    				<view class="uni-media-list-text-top">{{value.title}}</view>
    				<view class="uni-media-list-text-bottom uni-ellipsis">{{value.content}}</view>
    			</view>
    		</view>
    	</view>
    </view>
    </view> -->
		<view class="center_menu">
			<view class="menu_item" v-for="item in doglist">
				<image :src="item.icon" mode="aspectFill"></image>
				<text>{{item.name}}</text>
			</view>
		</view>
</template>
<script>
  export default {
    props: {
					doglist: {
				type: Array,
				default: []
			}
		},
    components : {},
    data() {
      return {}
    },
    methods: {},
    watch: {},

    onReachBottom(){ //页面上拉触底事件的处理函数

    },
    onPullDownRefresh(){//监听用户下拉动作，一般用于下拉刷新
      //需要在 pages.json 里，找到的当前页面的pages节点，并在 style 选项中开启 enablePullDownRefresh
      //uni.startPullDownRefresh(); 开启
      // uni.stopPullDownRefresh(); 关闭
    },
    onUnload(){ //监听页面卸载

    },
    onHide(){ //监听页面隐藏

    },
    onLoad(){  // 替代 created 监听页面加载，其参数为上个页面传递的数据，参数类型为Object（用于页面传参），参考示例

    },
    onReady(){ //替代 mounted 监听页面初次渲染完成

    },

    onShow() {   //监听页面显示
      //生命周期
    }
  }
</script>
<style lang="scss" scoped>


	.profily,
	.profily_header {
		border-radius: 8px;
	}

	.center {
		height: 100%;

		&_top {
			height: 18%;
			// background: url('./static/fumou-center-template/header.jpg') no-repeat 0% 50%;
			background-size: cover;

	
			.mask {
				background: rgba(0, 0, 0, .4);
				height: 100%;
			}
		}

		&_box_bg {
			background: #F9F9F9;
			position: relative;

			.profily {
				position: absolute;
				width: 90%;
			
				margin: 0 auto;
				top: -100upx;
				left: 5%;
				background: #FEFEFE;
				padding: 35upx;
				box-sizing: border-box;
				box-shadow: 0px 2px 5px #EDEDED;
			}
		}
	}

	.base {
		display: flex;
		align-items: center;
		border-bottom: 2px solid #F6F6F6;
		padding-bottom: 35upx;
		position: relative;
		.profily_header {
			height: 120upx;
			width: 120upx;
			// background-image: url('./static/fumou-center-template/header.jpg');
			background-size: 100%;
		}

		text {
			margin-left: 20px;
			font-size: 30upx;
		}
		
		image{
			position: absolute;
			height: 40upx;
			width: 40upx;
			right: 0px;
			top:0px;
		}
	}

	.order_status {
		display: flex;
		justify-content: space-between;
		margin-top: 35upx;

		.status {
			width: 140upx;
			font-size: 24upx;
			text-align: center;
			letter-spacing: .5px;
			display: flex;
			flex-direction: column;
			.icon {
				width: 50upx;
				height: 50upx;
				margin: 0 auto;
				margin-bottom: 5px;
				
			}
		}
	}

	.baiban {
		background: #FEFEFE;
		height: 300upx;
	}
		.title {
			padding: 20upx;
		}
		
		.center_menu {
			width: 100%;
			display: inline-block;
		
			.menu_item {
				font-size: 28upx;
				letter-spacing: 1px;
				padding: 14px 5%;
				background: #FEFEFE;
				overflow: hidden;
				box-sizing: border-box;
				display: flex;
				align-items: center;
				position: relative;
				border-bottom: 1px solid #EFEFEF;
		
				&:hover {
					background: #F6F6F6 !important;
				}
		
				&::after {
					content: '';
					width: 30upx;
					height: 30upx;
					position: absolute;
					right: 5%;
					background: url('../../static/dog/right.png') no-repeat;
					background-size: 100%;
				}
		
				text:nth-of-type(1) {
					margin-left: 10px;
				}
		
				image {
					width: 40upx;
					height: 40upx;
				}
		
				&:nth-of-type(4) {
					margin-top: 10px;
				}
			}
		}
</style>
